<%--
  Created by IntelliJ IDEA.
  User: 14237
  Date: 2020/12/11
  Time: 17:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>部门信息</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
</head>
<body>
<table class="layui-table">
    <tr>
        <td>deptid</td>
        <td>deptNo</td>
        <td>dname</td>
        <td>remark</td>
        <td>status</td>
        <td>操作</td>
    </tr>
    <c:forEach var="i" items="${requestScope.allDept}">
    <tr>
        <td>${i.deptid}</td>
        <td>${i.deptNo}</td>
        <td>${i.dname}</td>
        <td>${i.remark}</td>
        <td>${i.status}</td>
        <td>
            <a href="${pageContext.request.contextPath}/dept/goupdatedept?id=${i.deptid}" class="layui-btn">修改</a>
            <a href="${pageContext.request.contextPath}/dept/deldept?id=${i.deptid}" class="layui-btn layui-btn-danger">删除</a>
        </td>
    </tr>
    </c:forEach>
</body>
</html>
